#include<iostream>
using namespace std;

int main()
{
    int i,c,a=1,b=1;
    cout<<a<<" "<<b<<" ";
    for(i=1;i<=10;i=i+1){
        c=a+b;
        cout<<c<<" ";
        a=b;
        b=c;
    }
}